<div class="easyui-layout plugins" data-options="fit:true" ui="customerInit">
	<div data-options="region:'north',border:false" class="queryContent">
		客户类型:&nbsp;&nbsp;<input id="item" type="text" size="12"/>&nbsp;&nbsp;&nbsp; 
		客户编号:&nbsp;&nbsp;<input id="customerCode" type="text" size="12"/>&nbsp;&nbsp;&nbsp; 
		客户姓名:&nbsp;&nbsp;<input id="customerName" type="text" size="30"/>&nbsp;&nbsp;&nbsp; 
		<input type="button" class="right-button02" id="search" style="margin-left: 40px;cursor: pointer;" value="查 询" />
	</div>
	<div data-options="region:'center',border:false" style="width: 100%;height: 100%">
		<div id="customerList"></div>
	</div>
	<div id="editDialog">
		<form method="post" name="customerForm" id="customerForm">
			<table border="0" cellpadding="2" cellspacing="1" style="width: 100%">
				<tr>
					<td nowrap width="15%" >&nbsp;&nbsp;&nbsp;&nbsp;客户编号:</td>
					<td>
						<input type="hidden" name="customerID" id="customerID"/>
						<input type="text" name="customerCode" id="customerCode" class="text" style="width: 250px" size="40" />
					</td>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;客户姓名:</td>
					<td>
						<input type="text" name="customerName" id="customerName" class="text upCase" style="width: 250px" size="40" />
					</td>
				</tr>
				<tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;客户类型:</td>
					<td>
						<input type="text" name="customerTypeID" id="customerTypeID" class="text" style="width: 250px" size="40" />
					</td>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;性别:</td>
					<td>
						<input type="radio" name="sex" id="sex" value="男" checked="checked"/>&nbsp;&nbsp;男&nbsp;&nbsp;&nbsp;
						<input type="radio" name="sex" id="sex" value="女"/>&nbsp;&nbsp;女&nbsp;&nbsp;&nbsp;
					</td>
				</tr>
				<tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;客户来源:</td>
					<td>
						<input type="text" name="customerSourceID" id="customerSourceID" class="text" style="width: 250px" size="40"/>
					</td>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;生日:</td>
					<td>
						<input type="text" name="birthday" id="birthday" class="text Wdate" style="width: 250px" size="40" readonly="readonly" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'});"/>
					</td>
				</tr>
				<tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;性格特征:</td>
					<td>
						<input type="text" name="character" id="character" class="text" style="width: 250px" size="40" />
					</td>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;公司名称:</td>
					<td>
						<input type="text" name="company" id="company" class="text" style="width: 250px" size="40" />
					</td>
				</tr>
				<tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;职位职称:</td>
					<td>
						<input type="text" name="roleName" id="roleName" class="text" style="width: 250px" size="40" />
					</td>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;联系电话:</td>
					<td>
						<input type="text" name="telephone" id="telephone" class="text" style="width: 250px" size="40" />
					</td>
				</tr>
				<tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;地址:</td>
					<td colspan="3">
						<input type="text" name="address" id="address" class="text" style="width: 550px" size="40" />
					</td>
				</tr>
				<tr>
					<td nowrap >&nbsp;&nbsp;&nbsp;&nbsp;备注:</td>
					<td colspan="3">
						<textarea id="note" name="note" rows="15" class="text" cols="80"></textarea>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div id="cardDialog">
		<form method="post" name="cardForm" id="cardForm">
			<table border="0" cellpadding="2" cellspacing="1" style="width: 100%">
				<tr>
					<td nowrap width="15%" >&nbsp;&nbsp;&nbsp;&nbsp;卡号:</td>
					<td>
						<input type="hidden" name="cardID" id="cardID"/>
						<input type="text" name="cardCode" id="cardCode" class="text" style="width: 250px" size="40" />
					</td>
				<tr>
				</tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;金额:</td>
					<td>
						<input type="text" name="amount" id="amount" class="text easyui-numberbox"  data-options="min:0,precision:2" style="width: 250px" size="40" />
					</td>
				</tr>
				</tr>
					<td >&nbsp;&nbsp;&nbsp;&nbsp;积分:</td>
					<td>
						<input type="text" name="score" id="score" class="text easyui-numberbox"  data-options="min:0,precision:0" style="width: 250px" size="40" />
					</td>
				</tr>
				<tr>
					<td nowrap >&nbsp;&nbsp;&nbsp;&nbsp;备注:</td>
					<td colspan="3">
						<textarea id="note" name="note" rows="15" class="text" cols="50"></textarea>
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>

